<?php

/**
 * Cuantificador form.
 *
 * @package    symmoney
 * @subpackage form
 * @author     469745
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class CuantificadorForm extends BaseCuantificadorForm
{
  public function configure()
  {
    unset(
      $this['created_at'], $this['updated_at']
    );

    $this->widgetSchema['type'] = new sfWidgetFormChoice(array(
      'choices'  => Doctrine_Core::getTable('Cuantificador')->getTypes(),
    ));

    $this->validatorSchema['type'] = new sfValidatorChoice(array(
      'choices'  =>
        array_keys(Doctrine_Core::getTable('Cuantificador')->getTypes()),
    ));
  }
}
